export const getTwoDecimal = (str) => {
    const matchResult = str.match(/[0-9]+\.[0-9]{2}/);
    const result = matchResult ? matchResult[0] : str;
    return result;
}